import Vue from 'vue';
import Router from 'vue-router';
import Music from "@/pages/music";
import Mv from "@/pages/mv";
Vue.use(Router);
Vue.config.productionTip = false;
export default new Router({
    mode:'hash',
    routes:[
        {
            path:'/music',
            name:'Music',
            component:Music
        },{
            path:'/mv',
            name:"Mv",
            component:Mv
        },{
            path:'/detail',
            name:"Detail",
            component:()=>import('@/pages/detail')
        },{
            path:'/movie',
            name:"Movie",
            component:()=>import('@/pages/movie')
        }
    ]
})